<span><object><div>PASS</div></span>
<script src="full-screen-test.js"></script>
<script>
    var span = document.getElementsByTagName('span')[0];

    document.onwebkitfullscreenchange = function(event) {
      document.body.appendChild(document.createElement('div'));
      document.webkitCancelFullScreen();
      testRunner.notifyDone();
    };

    runWithKeyDown(function(){span.webkitRequestFullScreen()});
</script>
